package cn.tedu.system.oa.base.exception;

import cn.tedu.system.oa.base.response.StatusCode;
import lombok.Getter;
//业务异常类
public class ServiceException extends RuntimeException{

    @Getter
    private StatusCode statusCode;

    public ServiceException (StatusCode statusCode){
        this.statusCode = statusCode;
    }
}
